<?php
namespace Common\Org;
class System{
	//获取系统信息
	public function server_info(){
		$info = array(
			'catalog' => getenv('DOCUMENT_ROOT'),
			'port' => getenv('SERVER_PORT'),
			'time' => time(),
			'uname' => php_uname(),
			'ip' => $_SERVER['SERVER_ADDR'],
		);
		return $info;
	}
	
}